import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import login from '@/components/login'
import test from '@/components/test'
import ElementUI from '@/components/ElementUI'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/HelloWorld',
      name: 'headerDiv',
      component: HelloWorld
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/',
      name: 'test',
      component: test
    },
    {
      path: '/ElementUI',
      name: 'ElementUI',
      component: ElementUI
    }
  ]
})
